package com.bluefish.bltuan.permalink;

import com.applerao.urlrewriter.permalink.GenericPermalinkDefinition;
import com.applerao.urlrewriter.permalink.PermalinkVariable;
import com.bluefish.bltuan.module.shop.TuanGou;

public class ShopPermalinkDefinition extends GenericPermalinkDefinition{

	private static final String SHOP_URL = "/shop/%{tuangou_id}";
	
	public ShopPermalinkDefinition(String shopPermalink){
		this(TuanGou.class, shopPermalink, SHOP_URL);
	}
	
	public ShopPermalinkDefinition(Class<?> type, String definition,
			String string2) {
		super(type, definition, string2);
	}
	
	@Override
	public PermalinkVariable<?>[] supportedVariables() {
		return ShopPermalinkVariable.values();
	}

}
